package com.ljz.test.pojo;

/**
 * Created by LJZ.
 * User: UID
 * Date:2020/6/30
 * Time: 14:23
 * To change this template use File | Settings | File Templates.
 */
public class SonClass extends FatherClass {
    private String mSonName;
    protected int mSonAge;
    public String mSonBirthday;

    public void printSonMsg() {
        System.out.println("Son Msg - name : " + mSonName + "; age : " + mSonAge);
    }

    private void setSonName(String name) {
        mSonName = name;
    }

    private void setSonAge(int age) {
        mSonAge = age;
    }

    private String getSonName() {
        return mSonName;
    }

    private int getSonAge() {
        return mSonAge;
    }
}
